package idv.loveloser.dao;

/**
 * AbstractMdlQuestion entity provides the base persistence definition of the
 * MdlQuestion entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlQuestion implements java.io.Serializable {

	// Fields

	private Long id;
	private Long category;
	private Long parent;
	private String name;
	private String questiontext;
	private Short questiontextformat;
	private String generalfeedback;
	private Short generalfeedbackformat;
	private Double defaultmark;
	private Double penalty;
	private String qtype;
	private Long length;
	private String stamp;
	private String version;
	private Boolean hidden;
	private Long timecreated;
	private Long timemodified;
	private Long createdby;
	private Long modifiedby;

	// Constructors

	/** default constructor */
	public AbstractMdlQuestion() {
	}

	/** minimal constructor */
	public AbstractMdlQuestion(Long category, Long parent, String name,
			String questiontext, Short questiontextformat,
			String generalfeedback, Short generalfeedbackformat,
			Double defaultmark, Double penalty, String qtype, Long length,
			String stamp, String version, Boolean hidden, Long timecreated,
			Long timemodified) {
		this.category = category;
		this.parent = parent;
		this.name = name;
		this.questiontext = questiontext;
		this.questiontextformat = questiontextformat;
		this.generalfeedback = generalfeedback;
		this.generalfeedbackformat = generalfeedbackformat;
		this.defaultmark = defaultmark;
		this.penalty = penalty;
		this.qtype = qtype;
		this.length = length;
		this.stamp = stamp;
		this.version = version;
		this.hidden = hidden;
		this.timecreated = timecreated;
		this.timemodified = timemodified;
	}

	/** full constructor */
	public AbstractMdlQuestion(Long category, Long parent, String name,
			String questiontext, Short questiontextformat,
			String generalfeedback, Short generalfeedbackformat,
			Double defaultmark, Double penalty, String qtype, Long length,
			String stamp, String version, Boolean hidden, Long timecreated,
			Long timemodified, Long createdby, Long modifiedby) {
		this.category = category;
		this.parent = parent;
		this.name = name;
		this.questiontext = questiontext;
		this.questiontextformat = questiontextformat;
		this.generalfeedback = generalfeedback;
		this.generalfeedbackformat = generalfeedbackformat;
		this.defaultmark = defaultmark;
		this.penalty = penalty;
		this.qtype = qtype;
		this.length = length;
		this.stamp = stamp;
		this.version = version;
		this.hidden = hidden;
		this.timecreated = timecreated;
		this.timemodified = timemodified;
		this.createdby = createdby;
		this.modifiedby = modifiedby;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCategory() {
		return this.category;
	}

	public void setCategory(Long category) {
		this.category = category;
	}

	public Long getParent() {
		return this.parent;
	}

	public void setParent(Long parent) {
		this.parent = parent;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getQuestiontext() {
		return this.questiontext;
	}

	public void setQuestiontext(String questiontext) {
		this.questiontext = questiontext;
	}

	public Short getQuestiontextformat() {
		return this.questiontextformat;
	}

	public void setQuestiontextformat(Short questiontextformat) {
		this.questiontextformat = questiontextformat;
	}

	public String getGeneralfeedback() {
		return this.generalfeedback;
	}

	public void setGeneralfeedback(String generalfeedback) {
		this.generalfeedback = generalfeedback;
	}

	public Short getGeneralfeedbackformat() {
		return this.generalfeedbackformat;
	}

	public void setGeneralfeedbackformat(Short generalfeedbackformat) {
		this.generalfeedbackformat = generalfeedbackformat;
	}

	public Double getDefaultmark() {
		return this.defaultmark;
	}

	public void setDefaultmark(Double defaultmark) {
		this.defaultmark = defaultmark;
	}

	public Double getPenalty() {
		return this.penalty;
	}

	public void setPenalty(Double penalty) {
		this.penalty = penalty;
	}

	public String getQtype() {
		return this.qtype;
	}

	public void setQtype(String qtype) {
		this.qtype = qtype;
	}

	public Long getLength() {
		return this.length;
	}

	public void setLength(Long length) {
		this.length = length;
	}

	public String getStamp() {
		return this.stamp;
	}

	public void setStamp(String stamp) {
		this.stamp = stamp;
	}

	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Boolean getHidden() {
		return this.hidden;
	}

	public void setHidden(Boolean hidden) {
		this.hidden = hidden;
	}

	public Long getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(Long timecreated) {
		this.timecreated = timecreated;
	}

	public Long getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(Long timemodified) {
		this.timemodified = timemodified;
	}

	public Long getCreatedby() {
		return this.createdby;
	}

	public void setCreatedby(Long createdby) {
		this.createdby = createdby;
	}

	public Long getModifiedby() {
		return this.modifiedby;
	}

	public void setModifiedby(Long modifiedby) {
		this.modifiedby = modifiedby;
	}

}